<template>
	<router-link class="busniess-item block" :to="{path:'/ask/askprice',query:{id:id}}">
		<h5 class="fs14">
			<span class="c333">{{info.name}}</span>
			<span class="fr price">{{info.price}}</span>
		</h5>
		<div class="address fs12 c_999 mt15">{{info.address}}</div>
		<div class="mt15 ">
			<span class="c_main">{{info.phone}}</span>	
			<router-link :to="{path:'/ask/askprice',query:{id:id}}" class="ask_button fr">询底价</router-link>
		</div>
	</router-link>
</template>

<script>
	export default {
		props:{
			info:{
				type:Object,
				default:{}
			}
		},
		data () {
			return {
				id:''
			}
		},
		mounted () {
			this.id = this.$route.query.id;
		}
	}
</script>

<style lang = 'scss' scoped>
	.busniess-item {
		padding: 0.53333rem 0.4rem 0.26667rem;
		border: 1px solid #f5f5f5;
	}
</style>